import java.io.PrintWriter;

public class Go {
	static PrintWriter pw = pw();
	private static int NUMBER_OF_ROWS = 100;

	public static void main(String[] args) {
		/* 
		 * I MADE A SMALL CHANGE HERE AT 20:39 
		 * very simple demo:
		 * - 100 rows 
		 * - 10 folds
		 */
		
		for (int i = 0; i < NUMBER_OF_ROWS; i += 10) {
			echo("prun -np 1 java Compute " + i + "&");
		}

		pw.close();
	}

	private static void echo(Object o) {
		System.out.println(o);
		pw.println(o);
	}

	private static PrintWriter pw() {
		try {
			return new PrintWriter("go.sh");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}
}
